Logo video2dn
  • Сохранить видео с ютуба
  • Категории
    • Музыка
    • Кино и Анимация
    • Автомобили
    • Животные
    • Спорт
    • Путешествия
    • Игры
    • Люди и Блоги
    • Юмор
    • Развлечения
    • Новости и Политика
    • Howto и Стиль
    • Diy своими руками
    • Образование
    • Наука и Технологии
    • Некоммерческие Организации
  • О сайте

Скачать или смотреть #6 | Declaring Java Strings and using String literals | Learn Java

  • Neil Gillies
  • 2023-09-01
  • 158
#6 | Declaring Java Strings and using String literals | Learn Java
CodeIntelliJJavaLearnOver 40sString LiteralsStringsVariables
  • ok logo

Скачать #6 | Declaring Java Strings and using String literals | Learn Java бесплатно в качестве 4к (2к / 1080p)

У нас вы можете скачать бесплатно #6 | Declaring Java Strings and using String literals | Learn Java или посмотреть видео с ютуба в максимальном доступном качестве.

Для скачивания выберите вариант из формы ниже:

  • Информация по загрузке:

Cкачать музыку #6 | Declaring Java Strings and using String literals | Learn Java бесплатно в формате MP3:

Если иконки загрузки не отобразились, ПОЖАЛУЙСТА, НАЖМИТЕ ЗДЕСЬ или обновите страницу
Если у вас возникли трудности с загрузкой, пожалуйста, свяжитесь с нами по контактам, указанным в нижней части страницы.
Спасибо за использование сервиса video2dn.com

Описание к видео #6 | Declaring Java Strings and using String literals | Learn Java

In this video we learn about String variables and String literals.

Here is the code used in this lesson:

public class Main {
public static void main(String[] args) {
String firstName = "Mary";
String surname = "MacPherson";
int houseNumber = 7;
String streetAddress = "Park Street";
String town = "Glasgow";
String postcode = "G12 45W";

System.out.println("Your name is " + firstName + " " + surname);
System.out.println("You live at " + houseNumber + " " + streetAddress);
System.out.println(town + " " + postcode);
}
}

Here is a copy of the lesson notes:

// Strings are a data type that allow you to store any text and characters, including "character representations" of numbers.
// For words, names, messages and so on, or combinations of text and numbers - e.g. vehicle registration, postcodes etc.
// You can't perform math operations on any "numbers" stored in a String (you'd need to store them as a numerical data type e.g. int).
// A String is actually a special type of data type and is technically considered a Java class.
// String literals are text values that are not stored within a variable - System.out.print("Hello World");
// You have to decide when best to use Strings and String literals - use a String if you think the value is liable to change.

Комментарии

Информация по комментариям в разработке

Похожие видео

  • О нас
  • Контакты
  • Отказ от ответственности - Disclaimer
  • Условия использования сайта - TOS
  • Политика конфиденциальности

video2dn Copyright © 2023 - 2025

Контакты для правообладателей [email protected]