java4python
π« Log-in to Remove
Ads!
π«
Saving and Logging are Disabled
Search
Table of Contents
Book Index
User
Not logged in
Course Home
Assignments
Practice
Peer Instruction (Instructor)
Peer Instruction (Student)
Change Course
Instructor Dashboard
Progress Page
Edit Profile
Change Password
Register
Login
Dark Mode
Scratch Activecode
Help
FAQ
Instructors Guide
About Runestone
Report A Problem
This Chapter
Colophon
Common Mistakes
Conditionals
Defining Classes in Java
Lets look at a Java Program
Introduction
Java Data Types
Loops and Iteration
Java Documentation
Naming Conventions
Preface
Why Learn another programming Language?
Java for Python Programmers
ΒΆ
Java for Python Programmers
Preface
Introduction
Why Learn another programming Language?
Why Learn Java? Why not C or C++?
Lets look at a Java Program
Java Data Types
Numeric
String
List
Arrays
Dictionary
Conditionals
Simple if
if else
elif
switch
Boolean Operators
Loops and Iteration
Definite Loop
Indefinite Loops
Defining Classes in Java
Writing a constructor
Methods
Inheritance
Interfaces
Static member variables
Static Methods
Full Implementation of the Fraction Class
Naming Conventions
Common Mistakes
Forgetting to declare your variables
Not importing a class
Forgetting to use the new keyword to create an object
Forgetting a Semicolon
Forgetting to declare the kind of object in a container
Java Documentation
Colophon
Shameless Plug
You have attempted
1
of
1
activities on this page