This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Calculator { | |
private int firstNumber; | |
private int secondNumber; | |
private int resultValue; | |
private int array; | |
private double wowSoSquare; | |
private double numberBeforeSquareRootExtraction; | |
private double squareRootCalcResult; | |
private double angleBeforeSineCalc; | |
private double sineCalcResult; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Calculator { | |
private int firstNumber; | |
private int secondNumber; | |
private int resultValue; | |
private int divResultValue; | |
private int array; | |
private int twoDimArray; | |
private double wowSoSquare; | |
private double numberBeforeSquareRootExtraction; | |
private double squareRootCalcResult; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.util.Scanner; | |
class Calculator { | |
private int firstNumber; | |
private int secondNumber; | |
private int resultValue; | |
private int divResultValue; | |
private int array; | |
private int twoDimArray; | |
private double wowSoSquare; | |
private double numberBeforeSquareRootExtraction; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.util.Locale; | |
import java.util.Scanner; | |
class Calculator { | |
private double firstNumber; | |
private double secondNumber; | |
private double resultValue; | |
private double divResultValue; | |
private int array; | |
private int twoDimArray; | |
private double numberBeforeSquareRootExtraction; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.io.FileInputStream; | |
import java.io.FileOutputStream; | |
import java.io.IOException; | |
public class FileManager { | |
public static void main(String[] args) throws Exception { | |
FileInputStream fin = new FileInputStream("first.txt"); | |
FileOutputStream fout = new FileOutputStream("second.txt"); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.io.FileReader; | |
import java.io.FileWriter; | |
import java.io.BufferedReader; | |
import java.io.PrintWriter; | |
import java.io.IOException; | |
public class FileManager { | |
public static void main(String[] args) throws Exception { | |
try ( |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.io.FileReader; | |
import java.io.FileWriter; | |
import java.io.BufferedReader; | |
import java.io.PrintWriter; | |
import java.io.IOException; | |
public class FileManager{ | |
public static void copyFile(String firstFile, String secondFile) throws Exception { | |
try ( |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.io.FileReader; | |
import java.io.FileWriter; | |
import java.io.BufferedReader; | |
import java.io.PrintWriter; | |
import java.io.IOException; | |
import java.io.File; | |
public class FileManager{ | |
public static void copyFile(String firstFile, String secondFile) throws Exception { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package computer; | |
import java.util.Locale; | |
import java.util.Scanner; | |
public class Calculator { | |
private double resultValue; | |
private double divResultValue; | |
private double numberBeforeSquareRootExtraction; | |
private double squareRootCalcResult; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.example.javalessons; | |
import java.util.Locale; | |
import java.util.Scanner; | |
public class Calculator { | |
private double resultValue; | |
private double divResultValue; | |
private double numberBeforeSquareRootExtraction; | |
private double squareRootCalcResult; |