Java – Classes and methods

Java – Classes and methods

Method is a group of statements to which we give a name so we can execute them. When we call a method, the program first executes the statements in the method and then it continues with the code below the method call. syntax: modifier returnType methodName(Parameters){ statement(s) } modifier: (access modifiers) public | private | protected and (non-access modifiers) static | final | abstract returnType: If the method returns a value then you should specify the type here. Use return as the last statement in the method. If not then…

Java – Classes and methods Read More

Visual Studio Code – Few tips, HTML preview & live preview

Visual Studio Code – Few tips, HTML preview & live preview

Tips: When you create a new file in Visual Studio code, you should save the file. When you do that, VS Code will enable code suggestion, autocomplete the code and more. If you move the mouse over an HTML tag, a pop-up window will appear with information about this tag. beautifying the code with Ctrl + Shift + I for Linux and for Windows Shift + Alt + F Preview HTML Go to View > Extensions Type open-in-browser. Click Install Now by clicking Ctrl + Alt + O you can…

Visual Studio Code – Few tips, HTML preview & live preview Read More

Java – this keyword & method override

Java – this keyword & method override

this Keyword this in Java is used to reference to the current object. You can use it : to call one constructor from another constructor to refer to an instance variable to call another method inside the class Method override Every class in Java is descendant of the Object class. That means that your class inherits the instance methods of the Object. Those methods are: clone() equals(Object obj) finalize() getClass() hasCode() toString() Overriding a method allows a subclass to change the implementation for this method that is already provided by…

Java – this keyword & method override Read More

Movie – The Perfect Date

Movie – The Perfect Date

The Perfect Date He’s whoever you want him to be. Categories: Romance, Comedy / No beau? No problem! To earn money for college, a high schooler creates a dating app that lets him act as a stand-in boyfriend.  Non-TransferableBy Ashley Clements, Brendan…$4.99 Already Tomorrow in Hong KongBy Bryan Greenberg, Jamie…$2.99Ads by AmazonStatus: ReleasedIMDbRelease date: 2019-04-12Run time: 93 minute / 1:33Director: Chris Nelson Website: https://www.netflix.com/title/81019888Production Companies : Ace Entertainment, Awesomeness FilmsProduction Country: United States of America https://movies.kandz.me/en/movie/543540/The+Perfect+Date-2019 Money and success are not always the most important thing in life. It is important to enjoy our life too. And I like at the end…

Movie – The Perfect Date Read More