1 / 17

Static Variables

Discover the iconic models of Ferrari, including the Dino, 458, Spider, and F50. Each model boasts remarkable top speeds, encapsulating the spirit of performance that Ferrari is renowned for. The Dino reaches an impressive speed of 280 km/h, while the 458 and Spider hit 245 km/h. The F50 and Dino provide a thrilling experience with top speeds of 196 km/h and 224 km/h, respectively. This overview highlights their stunning red color option and showcases the engineering excellence of Ferrari vehicles.

kyna
Télécharger la présentation

Static Variables

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Static Variables Ferrari String model int topSpeed static String color

  2. Static Variables 클래스 객체 Ferrari Ferrari String model String model int topSpeed int topSpeed static String color static String color new Ferrari()

  3. Static Variables 클래스 객체 Ferrari Ferrari model = “Dino” String model topSpeed = 280 int topSpeed static String color static String color new Ferrari()

  4. Static Variables 객체 객체 Ferrari Ferrari Ferrari Ferrari Ferrari model = “458” model = “Spider” model = “F50” model = “Dino” String model topSpeed = 224 topSpeed = 245 topSpeed = 196 topSpeed = 280 int topSpeed 객체 객체 static String color static String color static String color static String color static String color

  5. Static Variables 객체 객체 Ferrari Ferrari Ferrari Ferrari Ferrari red red model = “Spider” model = “458” model = “F50” model = “Dino” String model topSpeed = 245 topSpeed = 280 topSpeed = 224 topSpeed = 196 int topSpeed 객체 객체 static String color static String color static String color static String color static String color Ferrari.color = red; red red

  6. public class Main{ static int bob = 5; public static void main(String[] args){ System.out.println( Main.bob ); 5

  7. public class Main{ static int bob = 5; public static void main(String[] args){ System.out.println( bob ); 5

  8. public class Main{ static int bob = 5; public static void main(String[] args){ int bob = 2478; System.out.println( bob ); 2478

  9. 서로 달라요 public class Main{ static int bob = 5; public static void main(String[] args){ int bob = 2478; System.out.println( bob ); 2478

  10. public class Main{ static int bob = 5; public static void main(String[] args){ int bob = 2478; System.out.println( Main.bob ); 5

  11. public class Main{ static int bob = 5; public static void main(String[] args){ Main m = new Main(); System.out.println( m.bob ); 5

  12. public class Main{ static int bob = 5; public static void main(String[] args){ Main m = new Main(); Main m2 = new Main(); System.out.println( m2.bob ); 5

  13. public class Main{ static int bob = 5; public static void main(String[] args){ Main m = new Main(); Main m2 = new Main(); m.bob++; System.out.println( m2.bob ); 6

  14. public class Main{ static int bob = 5; public static void main(String[] args){ Main m = new Main(); Main m2 = new Main(); m2.bob++; System.out.println( m2.bob ); 6

  15. public class Main{ static int bob = 5; public static void main(String[] args){ Main m = new Main(); Main m2 = new Main(); Main.bob++; System.out.println( m2.bob ); 6

  16. public class Main{ static int bob = 5; public static void main(String[] args){ Main m = new Main(); Main m2 = new Main(); bob++; System.out.println( m2.bob ); 6

  17. Main.bob

More Related