Chapter 3
Interview Questions-
Part 1
Other courses in our channel
👉 C 18 Hours Full course: [Link]
👉 Python 11 hours complete course: [Link]
👉20 Programs for interview: [Link]
👉 What is programming: [Link]
👉 Java in 10 minutes: [Link]
👉 Git Telugu course: [Link]
👉 Git English course: [Link]
👉 HTML Full course Telugu: [Link]
What is Java?
• It is a high level, general-purpose, class-based, object-oriented
programming language.
What a computer can understand?
• Only 0’s and 1’s
30
0101110010100001000010
1010000101001001000010
Compiler/
1010101010010100000010
Interpreter
0000101010111001000010
1010010011000001000010
What is object and class?
• Anything which has state and behavior is called Object
• Class is a blueprint to create those objects
Object
House plan/blueprint
Syntax to create a class?
class className{
//state
//behavior
}
Is Java pure object-oriented language?
• No, because it has primitive data types like int, float, double etc
which are not objects
• Then what are some well known pure object-oriented programming
languages?
• Smalltalk and Self
Who is the CEO of Sun microsystems?
• Scott McNealy
• November 13, 1954
What is the team formed to invent java
language?
• Green team
GREEN TEAM
What is the name of Java language before it
was named Java
• Oak
Who acquired sun microsystems?
• Oracle acquired sun microsystems in January 27, 2010, for $7.4 billion
When was Java invented?
• 1995
Why Java language is named Java?
• Coffee story
• Java island in
Indonesia
But what made the invention of Java?
• Because C++ was not able to support few functionalities that green
team is expecting.
• One among them is “Platform Independence”
What next?
Platform Independence? But before that let’s feel a Java program.
Other courses in our channel
👉 C 18 Hours Full course: [Link]
👉 Python 11 hours complete course: [Link]
👉20 Programs for interview: [Link]
👉 What is programming: [Link]
👉 Java in 10 minutes: [Link]
👉 Git Telugu course: [Link]
👉 Git English course: [Link]
👉 HTML Full course Telugu: [Link]