Monthly Archives: March 2023

INTRODUCTION TO JAVA

INTRODUCTION TO JAVA STRUCTURE OF JAVA PROGRAMS The minimum entities that we can represent within a Java program are Attributes and Methods, which are the basic components of an Object Oriented program. Both do not live a life of their own within a program written in Java but they must always be placed within a class definition. A class can be regarded as the basic logical and autonomous entity of the language. Attributes and methods are also known as class members. Members of a class are divided into instance members and class members. The definition of a class in [...]

By |2023-04-04T20:40:22+00:00March 19, 2023|0 Comments

THE JDK, JRE AND DEVELOPMENT ENVIRONMENTS

INSTALL JDK AND JRE THE JRE Java Runtime Environment: what it is and what it is used for. JRE is an implementation of the Java Virtual Machine and is necessary for the execution of programs written in Java. The Java Runtime Environment contains: the Java Virtual Machine (JVM) the standard Java API a launcher needed to launch programs already compiled in bytecode. What is not... Is not a software development environment does not contain development tools What does it contain? The JRE contains: java, javaw, libraries, rt.jar THE JDK JAVA DEVELOPMENT KIT: WHAT IS IT AND [...]

By |2023-03-20T19:51:06+00:00March 20, 2023|0 Comments

COURSE PROJECT STRUCTURE

YOUR FIRST JAVA PROJECT The goal is to create the first Java Project, using Visual Studio Code, to create what will be the structure of the programs that we will write as we go along. We will call the project CourseJava. I illustrate with a video the steps to be taken in the editor. I bring you a picture of the folder structure that the editor creates when a Java project is added. src source files, i.e., code files that we write and having the extension .java bin there are the files [...]

By |2023-03-25T23:46:48+00:00March 25, 2023|0 Comments
Go to Top