Create Object and Call Methods in Java | new Keyword & Output Explained | Zero to Hero – Episode 11

Опубликовано: 13 Май 2026
на канале: NextGen Automation
44
1

Welcome to Episode 11 of Java Zero to Hero for Software Automation Testing

In this video, we learn how to create objects from another class using the new keyword and call methods using that object.

You’ll also understand different ways of printing output in Java, including System.out.println vs System.out.printf, and how to use text blocks (""") instead of normal double quotes (") for cleaner output.

This lesson is very important for writing real Java programs and is heavily used in automation test scripts and frameworks.

-- In this video, you’ll learn:

How to create an object from an external class

Calling methods using object reference

Difference between System.out.println and System.out.printf

When and why to use text blocks (""")

Writing clean and readable output statements

Real-world Java coding practices

-- Who this video is for:

Java beginners

Automation testing beginners

Manual testers learning Java

Students learning real Java program flow

#JavaForAutomation
#JavaZeroToHero
#JavaObjects
#CallingMethods
#NewKeyword
#SystemOutPrintln
#PrintfInJava
#JavaTextBlocks
#JavaBeginners
#ObjectOrientedProgramming
#JavaOOP
#AutomationTesting
#LearnJava
#JavaTutorial