How to Create Read only file or Mark a file as Read only in Java

This tutorial shows how to create a read only file or mark an existing file as read only.Create Read Only File in Javaimport;import java.nio.file.FileAlreadyExistsException;import java.nio.file.Files;import java.nio.file.Path;import java.nio.file.Paths;import java.nio.file.attribute.FileAttribute;import java.nio.file.attribute.PosixFilePermission;import java.nio.file.attribute

Java May 09, 2020
How to Create Temp File or Directory in Java

This tutorial shows how to create temp file and temp directory using javaCreate Temp Directory in Javaimport;import java.nio.file.Files;import java.nio.file.Path;public class TempDirectory{    public static void main(String[] args) {        try {            Path tempDirPath = Files.createTempDirectory("tempDir"); 

Java May 09, 2020
Software Testing Interview Questions

Software Testing is the activity to check if the developed software system match the expected customer needs and to ensure that the software system is defect free.  Software testing helps identify bugs in the system, gaps and any missing requirement. We had looked at types software testing and let's see the most asked software testing questions. Software testing is divided into two

Misc February 01, 2020

MVVM is a derivative of MVC, and the key difference is how each layer in these patterns depends on other patterns and how tightly they are bound to each other. MVC simply stands for Model View Controller while MVVM stands for Model View ViewModel. Both are architectural design patterns that are used for separation of ideas. They enable programmers to develop systems that are maintainable, reusable

Misc January 30, 2020
Commonly Asked Java Programming Interview Questions

In Coding Interview Preparation Ultimate Guide article, I explained in details everything you need to prepare yourself for coding interviews. Now let's see some of the popular interview questions with answers for both beginners and experts. These interview questions have been designed with a purpose of getting you prepared for interview questions you may encounter. These are only Java Pr

Misc January 27, 2020
Microsoft Officially Launches a New Chromium-Based Edge Browser on Windows and MacOS Platforms

Microsoft released the first Chromium-based Edge version on January 15, 2020. The new Microsoft Edge Browser is based on the Chromium open source project, which makes it similar to Google Chrome in that regard. In 2018, Microsoft announced plans to switch to Chromium after the Edge web browser released in 2015 failed to make much progress by the end of 2017. Google Chrome has recently solidified i

Technology January 16, 2020
Best JavaFX Libraries for Beautiful Apps

In this article, I shall note down the best JavaFX libraries for developing beautiful apps for your clients. JavaFX is mainly used for creating desktop applications, and it's intended to replace Java Swing. JavaFX comes with a decent default theme called Modena and many in-built UI controls like Form Controls, TableView, TreeTableView, ListView, Datepicker, WebView, etc. FXML is used to create the

JavaFX January 13, 2020
Building web apps in WebView

There is a common scenario where you want to display information in your app. You might need to update, for instance, privacy and policy information. If you're going to deliver a web page as part of your Android Application, you can use WebView. The WebView class is an extension of Android’s View class. WebView allows Android developers to display web pages as part of their activity layout. WebV

Android January 03, 2020
Android RatingBar Tutorial with Example

You will want to get rating for your android application at some point. A user will click on a set of stars to set the rating value. Android provides a built-in class, RatingBar, which is an extension of SeekBar and ProgressBar that shows a rating in stars. RatingBar is a subclass of the AbsSeekBar class. The user can touch/drag or use arrow keys to set the rating when using the default size Ratin

Android January 03, 2020
How to Start a Website in 2020 With Easy Steps

Welcome to this ultimate guide for creating a website. This is a simple-to-follow tutorial, and in the end, you will be able to build your own website in a day. I will show you how to set up your website, how to get a domain name for your website, how to host it for people to access.Starting a website is one of the best choices you will ever make. As of 2019, there were over 1.94 billion websites

Misc January 02, 2020