<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Помогите с правильностью написанной мной программы. а сайте: https:&#x2F;&#x2F;www.online-java.com&#x2F; она не работает]]></title><description><![CDATA[<p dir="auto">// Online Java - IDE, Code Editor, Compiler</p>
<p dir="auto">// Online Java is a quick and easy tool that helps you to build, compile, test your programs online.</p>
<p dir="auto">// Write your Java code here</p>
<p dir="auto">public class Main {</p>
<p dir="auto">public static void main(String[] args) {</p>
<p dir="auto">//    System.out.println(“Hello JDFREE-40”);</p>
<p dir="auto">//    System.out.println(12+30);</p>
<p dir="auto">String CatName</p>
<p dir="auto">CatName = “Уличный кот”;</p>
<p dir="auto">System out println("Это обычный " + catName);</p>
<p dir="auto">}</p>
<p dir="auto">}</p>
]]></description><link>https://forum.exlends.ru/topic/271/pomogite-s-pravilnostyu-napisannoj-mnoj-programmy.-a-sajte-https-www.online-java.com-ona-ne-rabotaet</link><generator>RSS for Node</generator><lastBuildDate>Sat, 17 Oct 2026 03:11:42 GMT</lastBuildDate><atom:link href="https://forum.exlends.ru/topic/271.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 10 Oct 2025 06:20:29 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Помогите с правильностью написанной мной программы. а сайте: https:&#x2F;&#x2F;www.online-java.com&#x2F; она не работает on Sat, 11 Oct 2025 20:07:45 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/kirilljsx" aria-label="Profile: kirilljsx">@<bdi>kirilljsx</bdi></a>, на бесплатной программе. У меня есть ещё вопрос. Я дополнил мой предыдущий код. Что-то получилось а что то нет. Получилась ошибка при добавлении двух строчек в описанной ниже программе. Вот эти 2 строчки:<br />
dpuble catWeght = 4.5;<br />
System.out.println(“Мой кот весит + catWeght + " кг”);<br />
А вот и сама программа полностью:</p>
<p dir="auto">/*<br />
2. Welcome to JDoodle!<br />
2.<br />
2. You can execute code here in 88 languages. Right now you’re in the Java IDE.<br />
2.<br />
2.   1. Click the orange Execute button <img src="https://forum.exlends.ru/assets/plugins/nodebb-plugin-emoji/emoji/android/25b6.png?v=a1e94250dac" class="not-responsive emoji emoji-android emoji--arrow_forward" style="height:23px;width:auto;vertical-align:middle" title="▶" alt="▶" /> to execute the sample code below and see how it works.<br />
2.<br />
2.   2. Want help writing or debugging code? Type a query into JDroid on the right hand side ----------------&gt;<br />
2.<br />
2.   3.Try the menu buttons on the left. Save your file, share code with friends and open saved projects.<br />
2.<br />
2. Want to change languages? Try the search bar up the top.<br />
2. */<br />
2.<br />
2. public class Main {<br />
2. public static void main(String[] args) {<br />
2.<br />
2.     String catName;<br />
2.<br />
2.     catName = “Уличный кот”;<br />
2.<br />
2.     System.out.println("Это обычный " + catName);<br />
2.<br />
2.     catName = “Леви”;<br />
2.<br />
2.     System.out.println("Теперь его зовут " + catName);<br />
2.<br />
2.     int catAge = 5;<br />
2.<br />
2.      System.out.println(“Моему коту " + catAge + " лет”);<br />
2.<br />
2.      dpuble catWeght = 4.5;<br />
2.      System.out.println(“Мой кот весит + catWeght + " кг”);<br />
2.<br />
2. }<br />
2. }</p>
]]></description><link>https://forum.exlends.ru/post/858</link><guid isPermaLink="true">https://forum.exlends.ru/post/858</guid><dc:creator><![CDATA[radioexpi]]></dc:creator><pubDate>Sat, 11 Oct 2025 20:07:45 GMT</pubDate></item><item><title><![CDATA[Reply to Помогите с правильностью написанной мной программы. а сайте: https:&#x2F;&#x2F;www.online-java.com&#x2F; она не работает on Fri, 10 Oct 2025 14:15:10 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/radioexpi" aria-label="Profile: radioexpi">@<bdi>radioexpi</bdi></a> На бесплатной программе или курсы купил? Как там?</p>
]]></description><link>https://forum.exlends.ru/post/857</link><guid isPermaLink="true">https://forum.exlends.ru/post/857</guid><dc:creator><![CDATA[kirilljsx]]></dc:creator><pubDate>Fri, 10 Oct 2025 14:15:10 GMT</pubDate></item><item><title><![CDATA[Reply to Помогите с правильностью написанной мной программы. а сайте: https:&#x2F;&#x2F;www.online-java.com&#x2F; она не работает on Fri, 10 Oct 2025 13:31:55 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/kirilljsx" aria-label="Profile: kirilljsx">@<bdi>kirilljsx</bdi></a>, да! Изучаю курс на сайте: <a href="https://netology.ru/" target="_blank" rel="noopener noreferrer">https://netology.ru/</a></p>
]]></description><link>https://forum.exlends.ru/post/856</link><guid isPermaLink="true">https://forum.exlends.ru/post/856</guid><dc:creator><![CDATA[radioexpi]]></dc:creator><pubDate>Fri, 10 Oct 2025 13:31:55 GMT</pubDate></item><item><title><![CDATA[Reply to Помогите с правильностью написанной мной программы. а сайте: https:&#x2F;&#x2F;www.online-java.com&#x2F; она не работает on Fri, 10 Oct 2025 11:23:40 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/radioexpi" aria-label="Profile: radioexpi">@<bdi>radioexpi</bdi></a> Ты java изучаешь?</p>
]]></description><link>https://forum.exlends.ru/post/855</link><guid isPermaLink="true">https://forum.exlends.ru/post/855</guid><dc:creator><![CDATA[kirilljsx]]></dc:creator><pubDate>Fri, 10 Oct 2025 11:23:40 GMT</pubDate></item><item><title><![CDATA[Reply to Помогите с правильностью написанной мной программы. а сайте: https:&#x2F;&#x2F;www.online-java.com&#x2F; она не работает on Fri, 10 Oct 2025 11:18:22 GMT]]></title><description><![CDATA[<p dir="auto">Спасибо за быстрый и рабочий ответ!</p>
]]></description><link>https://forum.exlends.ru/post/854</link><guid isPermaLink="true">https://forum.exlends.ru/post/854</guid><dc:creator><![CDATA[radioexpi]]></dc:creator><pubDate>Fri, 10 Oct 2025 11:18:22 GMT</pubDate></item><item><title><![CDATA[Reply to Помогите с правильностью написанной мной программы. а сайте: https:&#x2F;&#x2F;www.online-java.com&#x2F; она не работает on Fri, 10 Oct 2025 06:55:09 GMT]]></title><description><![CDATA[<p dir="auto">И еще можно сразу объявить переменную и присвоить ей текст:</p>
<pre><code class="language-java">String catName = "Уличный кот";
</code></pre>
]]></description><link>https://forum.exlends.ru/post/852</link><guid isPermaLink="true">https://forum.exlends.ru/post/852</guid><dc:creator><![CDATA[kirilljsx]]></dc:creator><pubDate>Fri, 10 Oct 2025 06:55:09 GMT</pubDate></item><item><title><![CDATA[Reply to Помогите с правильностью написанной мной программы. а сайте: https:&#x2F;&#x2F;www.online-java.com&#x2F; она не работает on Fri, 10 Oct 2025 06:52:19 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/radioexpi" aria-label="Profile: radioexpi">@<bdi>radioexpi</bdi></a> Привет!<br />
Ну как минимум походу online-java не работает и выдает ошибку в редакторе, так что попробуй - <a href="https://www.jdoodle.com/online-java-compiler" target="_blank" rel="noopener noreferrer">https://www.jdoodle.com/online-java-compiler</a></p>
<p dir="auto">В твоем примере выше у тебя много ошибок:<br />
Переменные в java надо писать с маленькой буквы не <code>CatName</code> а <code>catName</code>, также жава очень строга к своему синтаксису обрати внимание что ты не закрыл точкой с запятой свою объявленную переменную <code>;</code>.  Также ты обернул “уличный кот” в какие-то не понятные кавычки.</p>
<p dir="auto">А вот уже исправленный код:</p>
<pre><code class="language-java">public class Main {

    public static void main(String[] args) {

        String catName;
    
        catName = "Уличный кот";
    
        System.out.println("Это обычный " + catName);

    }
}
</code></pre>
]]></description><link>https://forum.exlends.ru/post/851</link><guid isPermaLink="true">https://forum.exlends.ru/post/851</guid><dc:creator><![CDATA[kirilljsx]]></dc:creator><pubDate>Fri, 10 Oct 2025 06:52:19 GMT</pubDate></item></channel></rss>