SlideShare a Scribd company logo
public class Study10 {
public static void main(String[] args){
String hello = "hello";
String helloSame = "hello";
System.out.println( hello == helloSame );
}
}
public class Study11 {
public static void main(String[] args){
String word = "";
String comma = ",";
String vegetable1 = "apple";
String vegetable2 = "berry";
word = vegetable1 + comma;
System.out.println(word.length());
word = word + vegetable2;
System.out.println(word.length());
}
}
public class Study12 {
public static void main(String[] args){
String word = "orange,apple,grape";
String[] cells = word.split( ",");
System.out.println(cells[0]);
}
}
import java.util.Date;
public class Study13 {
public static void main(String[] args){
Date basetime = new Date();
System.out.println(basetime);
}
}
public class Study14 {
public static void main(String[] args){
int result = 3 + 4 * 5;
System.out.println(result);
System.out.println(1>0&&1>0);
}
}
public class Study15 {
public static void main(String[] args){
int result = (3+4)*5;
System.out.println(result);
}
}
public class Study16 {
public static void main(String[] args){
int point = 10;
point += 1;
System.out.println(point);
}
}
public class Study17 {
public static void main(String[] args){
int point = 10;
point=point+1;
System.out.println(point);
}
}
public class Study18 {
public static void main(String[] args){
String animal1 = "cat", animal2 = "cat", animal3 = "dog";
System.out.println(animal1 == animal2);
System.out.println(animal1 == animal3);
}
}
public class Study19 {
public static void main(String[] args){
int num1=5,num2=20,num3=30;
System.out.println(num1 >= 5);
System.out.println(num2 > num3);
}
}

More Related Content

PDF
PDF
DOCX
QA Auotmation Java programs,theory
PDF
Property-based testing
PDF
Manual tecnic sergi_subirats
PPT
Oop lecture9 13
PDF
Sam wd programs
PDF
5. Ввод-вывод, доступ к файловой системе
QA Auotmation Java programs,theory
Property-based testing
Manual tecnic sergi_subirats
Oop lecture9 13
Sam wd programs
5. Ввод-вывод, доступ к файловой системе

What's hot (20)

PDF
Python_ 3 CheatSheet
PDF
DCN Practical
PPT
JDBC Core Concept
PDF
Python 2.5 reference card (2009)
PDF
PythonOOP
PDF
Core java pract_sem iii
PDF
Cheat sheet python3
TXT
Code javascript
PPT
Collection Core Concept
PDF
The Ring programming language version 1.5.2 book - Part 76 of 181
PDF
Important java programs(collection+file)
PPTX
PDF
Mementopython3 english
PPTX
#5 (Remote Method Invocation)
PDF
Python3 cheatsheet
PDF
ScalaFlavor4J
KEY
Into Clojure
PPTX
Programming Java - Lection 07 - Puzzlers - Lavrentyev Fedor
KEY
Why Learn Python?
PDF
Practice programs
Python_ 3 CheatSheet
DCN Practical
JDBC Core Concept
Python 2.5 reference card (2009)
PythonOOP
Core java pract_sem iii
Cheat sheet python3
Code javascript
Collection Core Concept
The Ring programming language version 1.5.2 book - Part 76 of 181
Important java programs(collection+file)
Mementopython3 english
#5 (Remote Method Invocation)
Python3 cheatsheet
ScalaFlavor4J
Into Clojure
Programming Java - Lection 07 - Puzzlers - Lavrentyev Fedor
Why Learn Python?
Practice programs
Ad

Viewers also liked (20)

PDF
PDF
Java勉強会2017.3.17
PDF
PDF
コード
PDF
JSON Schema in Web Frontend #insideFE
PPTX
PYNQ 祭り: Pmod のプログラミング
PPTX
PYNQで○○してみた!
PDF
PYNQ祭り
PDF
Pynqでカメラ画像をリアルタイムfastx コーナー検出
PDF
Pynq祭り資料
PPTX
PYNQ単体でUIを表示してみる(PYNQまつり)
PDF
PYNQ祭りLT todotani
PDF
できるプログラマーを本気で育てるSwift超入門iosプログラマーへの第一歩
PDF
Game world creation
PDF
Web × プログラミング ~JavaScript編~(2017/2/16)
PDF
ピクシブ社初! 大規模チームのチームビルディング
PPTX
Python による 「スクレイピング & 自然言語処理」入門
PDF
オープンハードカンファレンスの紹介
PDF
How to make GAE adapt the Great Firewall
PPTX
Python勉強会in 長野 オープニング
Java勉強会2017.3.17
コード
JSON Schema in Web Frontend #insideFE
PYNQ 祭り: Pmod のプログラミング
PYNQで○○してみた!
PYNQ祭り
Pynqでカメラ画像をリアルタイムfastx コーナー検出
Pynq祭り資料
PYNQ単体でUIを表示してみる(PYNQまつり)
PYNQ祭りLT todotani
できるプログラマーを本気で育てるSwift超入門iosプログラマーへの第一歩
Game world creation
Web × プログラミング ~JavaScript編~(2017/2/16)
ピクシブ社初! 大規模チームのチームビルディング
Python による 「スクレイピング & 自然言語処理」入門
オープンハードカンファレンスの紹介
How to make GAE adapt the Great Firewall
Python勉強会in 長野 オープニング
Ad

Similar to Studyx2 (20)

PPT
Initial Java Core Concept
PDF
Kotlin, 어떻게 동작하나요
PDF
Hey Kotlin, How it works?
PPTX
CodeCamp Iasi 10 march 2012 - Practical Groovy
PPTX
Internet and Web Technology (CLASS-16) [Basic Elements of Java Program] | NIC...
DOCX
Java Programs Lab File
PDF
Groovy ネタ NGK 忘年会2009 ライトニングトーク
PDF
Presentatie - Introductie in Groovy
PPTX
Java весна 2013 лекция 2
PDF
This is to test a balanced tree. I need help testing an unbalanced t.pdf
PPTX
Nice to meet Kotlin
PPTX
Introduccion del curso
PPTX
Java 104
PDF
TDC2016SP - Código funcional em Java: superando o hype
PPTX
Java осень 2012 лекция 2
PPTX
Java Hello World Program
DOCX
COLLECTION IN JAVA PROGRAMMING LANGUAGES
PDF
Core Java Meetup #9 - Quiz Questions - 6th May
PPTX
Exceptions and errors in Java
PPTX
Python mu Java mı?
Initial Java Core Concept
Kotlin, 어떻게 동작하나요
Hey Kotlin, How it works?
CodeCamp Iasi 10 march 2012 - Practical Groovy
Internet and Web Technology (CLASS-16) [Basic Elements of Java Program] | NIC...
Java Programs Lab File
Groovy ネタ NGK 忘年会2009 ライトニングトーク
Presentatie - Introductie in Groovy
Java весна 2013 лекция 2
This is to test a balanced tree. I need help testing an unbalanced t.pdf
Nice to meet Kotlin
Introduccion del curso
Java 104
TDC2016SP - Código funcional em Java: superando o hype
Java осень 2012 лекция 2
Java Hello World Program
COLLECTION IN JAVA PROGRAMMING LANGUAGES
Core Java Meetup #9 - Quiz Questions - 6th May
Exceptions and errors in Java
Python mu Java mı?

Recently uploaded (20)

PDF
The CXO Playbook 2025 – Future-Ready Strategies for C-Suite Leaders Cerebrai...
PPTX
Internet of Things (IOT) - A guide to understanding
PPTX
CYBER-CRIMES AND SECURITY A guide to understanding
PDF
Enhancing Cyber Defense Against Zero-Day Attacks using Ensemble Neural Networks
PDF
composite construction of structures.pdf
DOCX
573137875-Attendance-Management-System-original
PPTX
IOT PPTs Week 10 Lecture Material.pptx of NPTEL Smart Cities contd
PPTX
Recipes for Real Time Voice AI WebRTC, SLMs and Open Source Software.pptx
DOCX
ASol_English-Language-Literature-Set-1-27-02-2023-converted.docx
PPTX
Construction Project Organization Group 2.pptx
PPTX
Lecture Notes Electrical Wiring System Components
PDF
Digital Logic Computer Design lecture notes
PPTX
additive manufacturing of ss316l using mig welding
PPTX
Welding lecture in detail for understanding
PDF
Evaluating the Democratization of the Turkish Armed Forces from a Normative P...
PDF
Well-logging-methods_new................
PDF
Model Code of Practice - Construction Work - 21102022 .pdf
PDF
July 2025 - Top 10 Read Articles in International Journal of Software Enginee...
PPTX
Engineering Ethics, Safety and Environment [Autosaved] (1).pptx
PPTX
KTU 2019 -S7-MCN 401 MODULE 2-VINAY.pptx
The CXO Playbook 2025 – Future-Ready Strategies for C-Suite Leaders Cerebrai...
Internet of Things (IOT) - A guide to understanding
CYBER-CRIMES AND SECURITY A guide to understanding
Enhancing Cyber Defense Against Zero-Day Attacks using Ensemble Neural Networks
composite construction of structures.pdf
573137875-Attendance-Management-System-original
IOT PPTs Week 10 Lecture Material.pptx of NPTEL Smart Cities contd
Recipes for Real Time Voice AI WebRTC, SLMs and Open Source Software.pptx
ASol_English-Language-Literature-Set-1-27-02-2023-converted.docx
Construction Project Organization Group 2.pptx
Lecture Notes Electrical Wiring System Components
Digital Logic Computer Design lecture notes
additive manufacturing of ss316l using mig welding
Welding lecture in detail for understanding
Evaluating the Democratization of the Turkish Armed Forces from a Normative P...
Well-logging-methods_new................
Model Code of Practice - Construction Work - 21102022 .pdf
July 2025 - Top 10 Read Articles in International Journal of Software Enginee...
Engineering Ethics, Safety and Environment [Autosaved] (1).pptx
KTU 2019 -S7-MCN 401 MODULE 2-VINAY.pptx

Studyx2

  • 1. public class Study10 { public static void main(String[] args){ String hello = "hello"; String helloSame = "hello"; System.out.println( hello == helloSame ); } } public class Study11 { public static void main(String[] args){ String word = ""; String comma = ","; String vegetable1 = "apple"; String vegetable2 = "berry"; word = vegetable1 + comma; System.out.println(word.length()); word = word + vegetable2; System.out.println(word.length()); } } public class Study12 { public static void main(String[] args){ String word = "orange,apple,grape"; String[] cells = word.split( ","); System.out.println(cells[0]); } } import java.util.Date; public class Study13 { public static void main(String[] args){ Date basetime = new Date(); System.out.println(basetime); } } public class Study14 { public static void main(String[] args){ int result = 3 + 4 * 5; System.out.println(result); System.out.println(1>0&&1>0); }
  • 2. } public class Study15 { public static void main(String[] args){ int result = (3+4)*5; System.out.println(result); } } public class Study16 { public static void main(String[] args){ int point = 10; point += 1; System.out.println(point); } } public class Study17 { public static void main(String[] args){ int point = 10; point=point+1; System.out.println(point); } } public class Study18 { public static void main(String[] args){ String animal1 = "cat", animal2 = "cat", animal3 = "dog"; System.out.println(animal1 == animal2); System.out.println(animal1 == animal3); } } public class Study19 { public static void main(String[] args){ int num1=5,num2=20,num3=30; System.out.println(num1 >= 5); System.out.println(num2 > num3); } }